package com.example.forum.model;

import lombok.Data;

import java.util.Date;

@Data
public class ArticleReply {
    //编号
    private Long id;

    //帖子编号
    private Long articleId;

    //回帖用户编号
    private Long postUserId;

    //楼中楼功能回复ID
    private Long replyId;

    //楼中楼功能用户id
    private Long replyUserId;

    //回帖内容
    private String content;

    //回复点赞
    private Integer likeCount;

    //状态，0 正常 1 禁用
    private Byte state;

    //状态，0 正常 1 删除
    private Byte deleteState;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    //关联对象：回帖者
    private User user;

}